{extend name="app/admin/view/base.html"/}

{block name="resources"}
<style type="text/css">
.download-wrap{
	width: 100%;
	height: 100px;
	padding-top: 150px;
	text-align: center;
}
.download-wrap .desc {
	font-size: 12px;
	color: #999;
	margin-top: 10px;
	color: #f00;
}
</style>
{/block}

{block name="main"}
<div class="layui-collapse ns-tips">
	<div class="layui-colla-item">
		<h2 class="layui-colla-title">操作提示</h2>
		<ul class="layui-colla-content layui-show">
			<li>先登录微信开放平台，在第三方平台添加开发小程序</li>
			<li>下载好小程序源码后，使用微信开发者工具上传到三方平台草稿箱中</li>
		</ul>
	</div>
</div>

<div class="download-wrap">
	<a class="layui-btn ns-bg-color" href="{:addon_url('wxoplatform://admin/oplatform/download')}">下载小程序源码</a>
	{if $is_new_version}<p class="desc">小程序源码已更新，请尽快下载上传到三方平台</p>{/if}
</div>
{/block}

{block name="script"}
<script type="text/javascript">
	
</script>
{/block}